let baseUrl = window.location.hostname;
let API_URL = "";
console.log(baseUrl)
switch (baseUrl) {
    case "localhost":
        API_URL = 'https://staging-api.huoxingy.com/';
        break;
    case "staging-membership.huoxingy.com":
        API_URL = 'https://staging-api.huoxingy.com/';
        break;
    case "prod-test-membership.huoxingy.com":
        API_URL = 'https://prod-test-api.huoxingy.com/';
        break;
    default:
        API_URL = 'https://prod-api.huoxingy.com/';
        break;
}